body,
html {
  height: 100%;
}

html::-webkit-scrollbar {
  width: 6px;
  background-color: #F5F5F5;
}

html::-webkit-scrollbar-thumb {
  background-color: #d32f2f;
}

html::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #F5F5F5;
}

.border-bottom {
  padding: 10px;
  display: block;
  color: #999;
  text-decoration: none;
  position: fixed;
  right: 40px;
  bottom: 40px;
  border: 1px solid #DDD;
  background: #FFF;
  width: 20px;
  text-align: center;
  border-radius: 2px;
  line-height: 1.25;
  z-index: 1000;
  opacity: 0;
}


/*--------------------------------------------------------------
Reset
--------------------------------------------------------------*/

a,
abbr,
acronym,
address,
applet,
big,
blockquote,
body,
caption,
cite,
code,
dd,
del,
dfn,
div,
dl,
dt,
em,
fieldset,
font,
form,
h1,
h2,
h3,
h4,
h5,
h6,
html,
iframe,
ins,
kbd,
label,
legend,
li,
object,
ol,
p,
pre,
q,
s,
samp,
small,
span,
strike,
strong,
sub,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
tr,
tt,
ul,
var {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

table {
  margin: 20px 0;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #ddd;
  font-size: 14px;
  table-layout: fixed;
  word-wrap: break-all;
}

table>tbody>tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

th,
td {
  height: 40px;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #eee;
}

caption,
th,
td {
  padding: 8px;
  text-align: left;
  vertical-align: middle;
  font-weight: normal;
}


/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/

button,
input,
select,
textarea {
  color: $color-text;
  font-family: 'Open sans', sans-serif;
  font-size: 100%;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-weight: bold;
  margin: 0 0 1em;
}

p {
  margin: 0px 0 30px 0;
  line-height: 1.5;
}

b,
strong {
  font-weight: bold;
}

cite,
dfn,
em,
i {
  font-style: italic;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

ins,
mark {
  background: #fff9c0;
  text-decoration: none;
}

sub,
sup {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: 0.5ex;
}

small {
  font-size: 75%;
}

big {
  font-size: 125%;
}


/*--------------------------------------------------------------
 Elements
--------------------------------------------------------------*/

a#more,
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: #d3d3d3 1px solid;
  margin: 40px 0;
  padding: 0;
}

a#more {
  margin: 0;
  border-top: none;
}

ol,
ul {
  margin: 0;
}

ul {
  list-style: none;
}

ol {
  list-style: decimal;
}

li > ol,
li > ul {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

th {
  font-weight: bold;
}

h1,
h2,
h3,
h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang-SC-Regular", "STHeiti", "Helvetica", "Arial", "Verdana", "sans-serif", "Microsoft YaHei";
}

h1 {
  font-size: 1.250em;
}

h1:hover {
  opacity: 0.7;
}

h2 {
  font-size: 1.2em;
}

h3 {
  font-weight: bold;
  font-size: 18px;
}

h4 {
  font-size: 0.875em;
}

blockquote p {
  margin: 0;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}


/*--------------------------------------------------------------
Links
--------------------------------------------------------------*/

a {
  color: $color-text;
  text-decoration: none;
}

a:visited {
  color: $color-text;
}

a:active,
a:focus,
a:hover {
  color: $color-text;
  opacity: 0.8;
}


/*--------------------------------------------------------------
Grad
--------------------------------------------------------------*/

.row {
  width: 100%;
  margin: 0 10%;
  display: block;
  box-sizing: border-box;
  &:after {
    content: "";
    display: table;
    clear: both;
  }
}

@for $i from 1 through 10 {
  .col-1-#{$i} {
    width: 100% / $i;
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
  }
}


/*--------------------------------------------------------------
Common
--------------------------------------------------------------*/

.show-force {
  display: block !important;
}


/*--------------------------------------------------------------
Content
--------------------------------------------------------------*/

.site-content {
  min-height: calc(100% - 274px);
}

.content-header {
  width: 100%;
  height: 400px;
  box-sizing: border-box;
  position: relative;
  box-shadow: 5px 5px 25px #dadada;
  padding: 5px;
  margin: 73px auto 0 auto;
  background-size: cover;
  background-position: bottom;
}

.headline {
  left: 0;
  margin-top: 10px;
  overflow: hidden;
  text-align: center;
  color: azure;
  h1 {
    margin-top: 50px;
    margin-bottom: 50px;
    color: #ea8f00;
    font-weight: 100;
  }
}

.cover_mask {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  -webkit-transition: all .5s ease-in;
  transition: all .5s ease-in;
  color: rgba(255, 255, 255, 0);
}

.cover_mask .info {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  text-align: center;
  -webkit-transform: translateY(-50%);
}

.demo,
.img,
.border,
.cover_mask {
  width: 150px;
  height: 150px;
}

.demo {
  display: block;
  font-size: 15px;
  position: relative;
  margin: 50px auto;
  .img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 50%;
  }
}

.demo:hover .cover_mask {
  background-color: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 1);
}

.demo:hover .border {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.border {
  position: absolute;
  // border: 2px solid #072256;
  border-left-color: #E07514;
  border-top-color: #e01008;
  top: 0;
  left: 0;
  border-radius: 50%;
  -webkit-transition: all .5s ease-in;
  transition: all .5s ease-in;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.header-link {
  font-size: 30px;
  position: absolute;
  width: 300px;
  left: 58px;
  top: -56px;
  margin: 0 auto;
  z-index: 31;
  a {
    margin: 20px 5px;
  }
}

.content-area {
  padding: $header-height 250px 0 250px;
}

.error404 .content-area,
.page .content-area {
  padding-top: 120px;
}

.article {
  background: white;
  position: relative;
  margin: 20px 0;
  box-shadow: 5px 5px 25px #dadada;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.inside-wrapper {
  max-width: $inside-wrapper-width;
  margin: 0 auto;
  padding: 0 50px;
}

.attachment-post-thumbnail {
  margin: 0 auto 35px;
  transition: opacity 0.7s;
  display: block;
  &:hover {
    opacity: 0.7;
  }
}

.entry-title {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang-SC-Regular", "STHeiti", "Helvetica", "Arial", "Verdana", "sans-serif", "Microsoft YaHei";
  letter-spacing: 0.2em;
  color: #000;
  text-align: center;
  padding-top: 2em;
  margin-bottom: 27px;
  font-weight: 700;
  font-size: 1.25em;
  a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
  }
  &:after {
    content: "";
    height: 2px;
    width: 50px;
    background: black;
    display: block;
    margin: 20px auto 0;
  }
  &:hover {
    opacity: 0.7;
  }
}

.home .entry-content {
  margin: 1.5em 0;
}

.post-header {
  overflow: hidden;
}

.post-more-link {
  text-align: center;
  margin: 3em 0;
  .btn {
    color: #555;
    font-size: 14px;
    background: #fff;
    border-radius: 2px;
    line-height: 2;
    display: inline-block;
    padding: 0 20px;
    border: 2px solid #555;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
    &:hover {
      border-color: #222;
      color: #fff;
      background: #222;
    }
  }
}

.a-posted-on {
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang-SC-Regular", "STHeiti", "Helvetica", "Arial", "Verdana", "sans-serif", "Microsoft YaHei";
  font-size: 0.688em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  i {
    display: inline-block;
    width: 19px;
    height: 16px;
    background-size: 19px 16px;
  }
}

.posted-on {
  text-align: center;
  float: left;
  padding-left: 5%;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang-SC-Regular", "STHeiti", "Helvetica", "Arial", "Verdana", "sans-serif", "Microsoft YaHei";
  font-size: 0.788em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  i {
    display: inline-block;
    width: 19px;
    height: 16px;
    background-size: 19px 16px;
  }
}

.tags-links {
  text-align: center;
  float: right;
  padding-right: 10%;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang-SC-Regular", "STHeiti", "Helvetica", "Arial", "Verdana", "sans-serif", "Microsoft YaHei";
  font-size: 0.800em;
  font-style: normal;
  margin: 0px 0 30px 0;
  i {
    display: inline-block;
    width: 19px;
    height: 16px;
    background-size: 19px 16px;
  }
  a {
    margin: 0 5px;
    font-style: italic;
  }
}

.pager {
  padding: 1.5em 0;
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
  &:hover {
    .meta-arraw {
      opacity: 0.8;
    }
  }
  .previous {
    float: right;
    margin-right: 20%;
  }
  .next {
    float: left;
    margin-left: 20%;
  }
  a {
    text-decoration: none;
    font-family: "微软雅黑";
    text-transform: uppercase;
    font-size: 15px;
    line-height: 20px;
    font-weight: 800;
    box-sizing: content-box;
    padding: 6px;
    letter-spacing: 1px;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
    &:hover {
      opacity: 1;
      border-radius: 3px;
      background: black;
      color: white;
      padding: 6px;
    }
  }
}

.meta-arraw {
  width: 10px;
  height: 17px;
  background: url("../images/arrow-left.svg") no-repeat;
  display: inline-block;
  margin-bottom: -4px;
  margin-right: 5px;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.meta-arraw-left {
  background: url("../images/arrow-left.svg") no-repeat;
}

.meta-arraw-right {
  background: url("../images/arrow-right.svg") no-repeat;
}


/*--------------------------------------------------------------
Comment
--------------------------------------------------------------*/

#comment {
  margin-top: 70px;
}


/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/

.footer-widgets {
  font-size: 0.750em;
  z-index: 2;
  position: relative;
  background: white;
  padding-top: 50px;
  padding-bottom: 40px;
  text-align: center;
}

.header-content {
  width: 100%;
  height: 100%;
  z-index: 2;
}

.header-info-link {
  transform: translate(-50%, -50%);
  position: absolute;
  width: 70%;
  font-size: 30px;
  left: 50%;
  top: 50%;
}

.icon {
  float: left;
  overflow: hidden;
  display: block;
  width: 15%;
  margin: 5%;
  &:hover {
    color: grey;
  }
}

.site-info {
  text-align: center;
  font-size: 0.750em;
  padding-bottom: 20px;
  padding-top: 20px;
  color: #a2a2a2;
  .split {
    margin: 0 2px;
  }
  a {
    text-decoration: none;
    color: #666666;
  }
}
